package com.main.common.utils.exceptions;

import com.main.common.entity.Report;

public abstract class BaseServiceException extends RuntimeException implements ExceptionTemplet {
    private Report report;
    public BaseServiceException(String message) {
        super(message);
    }
    public BaseServiceException report(Report report){
        this.report = report;
        return this;
    };
    @Override
    public Report report() {
        return report;
    }
}